package awdc;
/* Здесь все параметры, специфичные для этого хаба */

class HubParametrs {
	String Address;
	String Nick;
	String SharedDirectory;
	int Port;

	void setAddress(String Address){
		this.Address = Address;
	}
	void setNick(String Nick) {
		this.Nick = Nick;
	}

	String getAddress(){
		return this.Address;
	}
	String getNick(){
		return this.Nick;
	}

	String getSharedDirectory(){
		return SharedDirectory;
	}

	int getPort(){
		return this.Port;
	}


	//Конструктор
	HubParametrs (String NewAddress, int NewPort, String NewNick, String SharedDir){
		this.Address = NewAddress;
		this.Nick = NewNick;
		this.Port = NewPort;
		this.SharedDirectory = SharedDir;
	}
}
